package com.etd.base.domain.impl;

import javax.persistence.Column;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.MappedSuperclass;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@MappedSuperclass
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
@JsonIgnoreProperties(value={"hibernateLazyInitializer","handler"})
public class BaseDeptDomain extends BaseDomain   {
	
	
	
	
	@Column
	private Long deptid;
	
	@Column
	private String deptName;
	
	/* (non-Javadoc)
	 * @see org.brisling.domain.common.BaseDeptDomainInf#setDeptid(java.lang.Long)
	 */
	public void setDeptid(Long _uplinkid){
		
		this.deptid = _uplinkid;
	}
	
	
	/* (non-Javadoc)
	 * @see org.brisling.domain.common.BaseDeptDomainInf#getDeptid()
	 */
	public Long getDeptid(){
		return deptid;
	}

		
	
	/* (non-Javadoc)
	 * @see org.brisling.domain.common.BaseDeptDomainInf#getDeptName()
	 */
	public String getDeptName(){
		return deptName;
	}
	
	/* (non-Javadoc)
	 * @see org.brisling.domain.common.BaseDeptDomainInf#setDeptName(java.lang.String)
	 */
	public void setDeptName(String _name){
		this.deptName = _name;
	}
	
	

}
